# CMake 最低版本要求
cmake_minimum_required(VERSION 2.8)
# 工程名，不是执行文件名
PROJECT(cmake-demo)

# 添加子目录
ADD_SUBDIRECTORY(src)

# MESSAGE和echo类似，打印信息
MESSAGE(STATUS "THIS IS BINARY " ${PROJECT_BINARY_DIR})
MESSAGE(STATUS "THIS IS SOURCE " ${PROJECT_SOURCE_DIR})
MESSAGE(STATUS "THIS IS CMAKE CMAKE_CURRENT_SOURCE_DIR " ${CMAKE_CURRENT_SOURCE_DIR})
